<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
  
        <div class="layui-form-item">
            <label class="layui-form-label">菜单名称</label> 
            <div class="layui-input-block">
                <input type="text" name="name" class="layui-input" lay-verify="required" placeholder="请输入菜单名称" value="{$row.name}">
            
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label ">图标</label>
            <div class="layui-input-block layuimini-upload">
                <input name="icon" class="layui-input layui-col-xs6"   placeholder="请上传图标" value="{$row.icon|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn layui-btn-sm" data-upload="icon" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="icon"><i class="fa fa-upload"></i> 上传</a></span>
                
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">跳转路径</label>
            <div class="layui-input-block">
                <input type="sort" name="linkurl" class="layui-input" placeholder="请输入跳转路径" value="{$row.linkurl|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">显示状态</label>
            <div class="layui-input-block">
                <input type="radio" name="is_show" value="1" title="显示" {if condition="$row.is_show==1"} checked {/if}>
                <input type="radio" name="is_show" value="0" title="隐藏"  {if condition="$row.is_show==0"} checked {/if}>
            </div>
        </div>
  
        <div class="layui-form-item">
            <label class="layui-form-label">菜单排序</label>
            <div class="layui-input-block">
                <input type="sort" name="sort" class="layui-input" placeholder="请输入分类排序" value="{$row.sort}">
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>
